#include <iostream>
using namespace std;

int main()
{
    int n;
    cin >> n;
    while (n--)
    {
        int a, b, ans, ans1, ans2;
        cin >> a >> b >> ans;
        ans1 = a + b;
        ans2 = a * b;
        if (ans == ans1)
        {
            cout << "Tu Dou" << endl;
        }
        else if (ans == ans2)
        {
            cout << "Lv Yan" << endl;
        }
        else
        {
            cout << "zhe du shi sha ya!" << endl;
        }
    }
    return 0;
}